package com.ktgj.other.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.other.domain.vo.TravelerVo;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 et_order
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
public class EtOrder implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long orderid;

    /** 会员id */
    @Excel(name = "会员id")
    private Long jsjid;

    /** 门票id */
    @Excel(name = "门票id")
    private Long sceneryticketid;

    /** 门票数量 */
    @Excel(name = "门票数量")
    private Long ticketcount;

    /** 游客手机号 */
    @Excel(name = "游客手机号")
    private String travelermobile;

    /** 出行时间 */
    @Excel(name = "出行时间")
    private Date traveldate;

    /** 旅客姓名 */
    @Excel(name = "旅客姓名")
    private String travelername;

    /** 旅客身份证号 */
    @Excel(name = "旅客身份证号")
    private String traveleridcardno;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal payableamount;

    /**
     * 未出行 10
     * 已出行 20
     * 已取消 40
     * 已删除 -1
     * */
    @Excel(name = "未出行 10 已出行 20 已取消 40 已删除 -1")
    private Long orderstatus;

    /**
     * 未支付 10
     * 已支付 20
     * */
    @Excel(name = "未支付 10 已支付 20")
    private Long paystatus;

    /** 第三方订单号 */
    @Excel(name = "第三方订单号")
    private String partnerordernumber;

    /** 请求来源 */
    @Excel(name = "请求来源")
    private Long sourceway;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isdeleted;

    /** 订单核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkordertime;

    /** 订单总价 */
    @Excel(name = "订单总价")
    private BigDecimal marketprice;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal amountprice;

    /** $column.columnComment */
    @Excel(name = "订单核销时间")
    private Long timeout;

    /** $column.columnComment */
    @Excel(name = "订单核销时间")
    private String screeningid;

    /** $column.columnComment */
    @Excel(name = "订单核销时间")
    private String screeningbegintime;

    /** $column.columnComment */
    @Excel(name = "订单核销时间")
    private String screeningendtime;

    /** $column.columnComment */
    @Excel(name = "订单核销时间")
    private Long sourceappid;

    /** 1=预定成功短信，2=供应商二次短信，3=二维码，4=身份证，5=取票人姓名+手机号，6=其他，7=支付成功短信，8=入园辅助码，9=同程确认号 */
    @Excel(name = "1=预定成功短信，2=供应商二次短信，3=二维码，4=身份证，5=取票人姓名+手机号，6=其他，7=支付成功短信，8=入园辅助码，9=同程确认号")
    private Long enterparktype;

    /** 凭证ID  多个以逗号分隔 */
    @Excel(name = "凭证ID  多个以逗号分隔")
    private String code;

    /** 三方链接  多个以逗号分隔 */
    @Excel(name = "三方链接  多个以逗号分隔")
    private String url;

    /** 同程转换的二维码链接 多个以逗号分隔 */
    @Excel(name = "同程转换的二维码链接 多个以逗号分隔")
    private String tranqrlink;

    /** $column.columnComment */
    @Excel(name = "同程转换的二维码链接 多个以逗号分隔")
    private String ticketcodes;

    /** $column.columnComment */
    @Excel(name = "同程转换的二维码链接 多个以逗号分隔")
    private String ticketcodeaddresss;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 订单号 */
    @ApiModelProperty(value = "订单号")
    private String orderNum;

    /** 银行卡id */
    @ApiModelProperty(value = "银行卡id")
    private Long bankCardId;

    /** 退款流水号 */
    @ApiModelProperty(value = "退款流水号")
    private String OrderBillId;

    /** 预留款 */
    @ApiModelProperty(value = "预留款")
    private BigDecimal amount;

    /** 错误信息 */
    @ApiModelProperty(value = "错误信息")
    private String msg;

    /*--------------------------------------------------------------------------*/

    /** 游客信息 */
    @Excel(name = "游客信息")
    private List<TravelerVo> travelerVoList;

    /** 游客信息 */
    @Excel(name = "取票人信息")
    private List<TravelerVo> obtainVoList;

    /** 出行时间 */
    @Excel(name = "出行时间")
    private String travelTime;

    /** 订单状态名称 */
    @Excel(name = "订单状态名称")
    private String start;

    /** 门票 */
    @Excel(name = "门票")
    private String tickets;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getOrderBillId() {
        return OrderBillId;
    }

    public void setOrderBillId(String orderBillId) {
        OrderBillId = orderBillId;
    }

    public String getTickets() {
        return tickets;
    }

    public void setTickets(String tickets) {
        this.tickets = tickets;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public Long getBankCardId() {
        return bankCardId;
    }

    public void setBankCardId(Long bankCardId) {
        this.bankCardId = bankCardId;
    }

    public String getTravelTime() {
        return travelTime;
    }

    public void setTravelTime(String travelTime) {
        this.travelTime = travelTime;
    }

    public List<TravelerVo> getTravelerVoList() {
        return travelerVoList;
    }

    public void setTravelerVoList(List<TravelerVo> travelerVoList) {
        this.travelerVoList = travelerVoList;
    }

    public List<TravelerVo> getObtainVoList() {
        return obtainVoList;
    }

    public void setObtainVoList(List<TravelerVo> obtainVoList) {
        this.obtainVoList = obtainVoList;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setOrderid(Long orderid)
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setJsjid(Long jsjid) 
    {
        this.jsjid = jsjid;
    }

    public Long getJsjid() 
    {
        return jsjid;
    }
    public void setSceneryticketid(Long sceneryticketid) 
    {
        this.sceneryticketid = sceneryticketid;
    }

    public Long getSceneryticketid() 
    {
        return sceneryticketid;
    }
    public void setTicketcount(Long ticketcount) 
    {
        this.ticketcount = ticketcount;
    }

    public Long getTicketcount() 
    {
        return ticketcount;
    }
    public void setTravelermobile(String travelermobile) 
    {
        this.travelermobile = travelermobile;
    }

    public String getTravelermobile() 
    {
        return travelermobile;
    }
    public void setTraveldate(Date traveldate) 
    {
        this.traveldate = traveldate;
    }

    public Date getTraveldate() 
    {
        return traveldate;
    }
    public void setTravelername(String travelername) 
    {
        this.travelername = travelername;
    }

    public String getTravelername() 
    {
        return travelername;
    }
    public void setTraveleridcardno(String traveleridcardno) 
    {
        this.traveleridcardno = traveleridcardno;
    }

    public String getTraveleridcardno() 
    {
        return traveleridcardno;
    }
    public void setPayableamount(BigDecimal payableamount) 
    {
        this.payableamount = payableamount;
    }

    public BigDecimal getPayableamount() 
    {
        return payableamount;
    }
    public void setOrderstatus(Long orderstatus) 
    {
        this.orderstatus = orderstatus;
    }

    public Long getOrderstatus() 
    {
        return orderstatus;
    }
    public void setPaystatus(Long paystatus) 
    {
        this.paystatus = paystatus;
    }

    public Long getPaystatus() 
    {
        return paystatus;
    }
    public void setPartnerordernumber(String partnerordernumber) 
    {
        this.partnerordernumber = partnerordernumber;
    }

    public String getPartnerordernumber() 
    {
        return partnerordernumber;
    }
    public void setSourceway(Long sourceway) 
    {
        this.sourceway = sourceway;
    }

    public Long getSourceway() 
    {
        return sourceway;
    }
    public void setIsdeleted(Integer isdeleted) 
    {
        this.isdeleted = isdeleted;
    }

    public Integer getIsdeleted() 
    {
        return isdeleted;
    }
    public void setCheckordertime(Date checkordertime) 
    {
        this.checkordertime = checkordertime;
    }

    public Date getCheckordertime() 
    {
        return checkordertime;
    }
    public void setMarketprice(BigDecimal marketprice) 
    {
        this.marketprice = marketprice;
    }

    public BigDecimal getMarketprice() 
    {
        return marketprice;
    }
    public void setAmountprice(BigDecimal amountprice) 
    {
        this.amountprice = amountprice;
    }

    public BigDecimal getAmountprice() 
    {
        return amountprice;
    }
    public void setTimeout(Long timeout) 
    {
        this.timeout = timeout;
    }

    public Long getTimeout() 
    {
        return timeout;
    }
    public void setScreeningid(String screeningid) 
    {
        this.screeningid = screeningid;
    }

    public String getScreeningid() 
    {
        return screeningid;
    }
    public void setScreeningbegintime(String screeningbegintime) 
    {
        this.screeningbegintime = screeningbegintime;
    }

    public String getScreeningbegintime() 
    {
        return screeningbegintime;
    }
    public void setScreeningendtime(String screeningendtime) 
    {
        this.screeningendtime = screeningendtime;
    }

    public String getScreeningendtime() 
    {
        return screeningendtime;
    }
    public void setSourceappid(Long sourceappid) 
    {
        this.sourceappid = sourceappid;
    }

    public Long getSourceappid() 
    {
        return sourceappid;
    }
    public void setEnterparktype(Long enterparktype) 
    {
        this.enterparktype = enterparktype;
    }

    public Long getEnterparktype() 
    {
        return enterparktype;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setTranqrlink(String tranqrlink) 
    {
        this.tranqrlink = tranqrlink;
    }

    public String getTranqrlink() 
    {
        return tranqrlink;
    }
    public void setTicketcodes(String ticketcodes) 
    {
        this.ticketcodes = ticketcodes;
    }

    public String getTicketcodes() 
    {
        return ticketcodes;
    }
    public void setTicketcodeaddresss(String ticketcodeaddresss) 
    {
        this.ticketcodeaddresss = ticketcodeaddresss;
    }

    public String getTicketcodeaddresss() 
    {
        return ticketcodeaddresss;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderid", getOrderid())
            .append("jsjid", getJsjid())
            .append("sceneryticketid", getSceneryticketid())
            .append("ticketcount", getTicketcount())
            .append("travelermobile", getTravelermobile())
            .append("traveldate", getTraveldate())
            .append("travelername", getTravelername())
            .append("traveleridcardno", getTraveleridcardno())
            .append("payableamount", getPayableamount())
            .append("orderstatus", getOrderstatus())
            .append("paystatus", getPaystatus())
            .append("createTime", getCreateTime())
            .append("partnerordernumber", getPartnerordernumber())
            .append("sourceway", getSourceway())
            .append("remark", getRemark())
            .append("isdeleted", getIsdeleted())
            .append("checkordertime", getCheckordertime())
            .append("marketprice", getMarketprice())
            .append("amountprice", getAmountprice())
            .append("timeout", getTimeout())
            .append("screeningid", getScreeningid())
            .append("screeningbegintime", getScreeningbegintime())
            .append("screeningendtime", getScreeningendtime())
            .append("sourceappid", getSourceappid())
            .append("enterparktype", getEnterparktype())
            .append("code", getCode())
            .append("url", getUrl())
            .append("tranqrlink", getTranqrlink())
            .append("ticketcodes", getTicketcodes())
            .append("ticketcodeaddresss", getTicketcodeaddresss())
            .toString();
    }
}
